Repository navigation
ci(temporal-conformance): PostgreSQL service on pgvector's PG 16 image; merge-queue run on live paths - #37155
Conversation
… 16 image The live PostgreSQL service in the Temporal Conformance job moves from mirror.gcr.io/library/postgres:16 to mirror.gcr.io/pgvector/pgvector:0.8.7-pg16: the same major and image layout, with the `vector` extension built in, still pulled through Google's Docker Hub cache. driver-sql gains a PG-only live test that installs the extension and orders rows by L2 distance, so an image without it turns that job red. Claude-Session: https://claude.ai/code/session_01QSeKYpRrYuqSLCvbSk9zrL Co-authored-by: Claude <noreply@anthropic.com>
…e paths change Per the maintainer's ruling on #37095 (record 7146156389), the merge queue now runs temporal-conformance when the entry's diff touches knowledge-pgvector, driver-sql, the live-server test files the job selects, or ci.yml. A new `temporal_live` paths-filter output carries that, read on merge_group only and fail-open like the ui outputs. pull_request stays excluded; push, schedule and dispatch are unchanged. Claude-Session: https://claude.ai/code/session_01QSeKYpRrYuqSLCvbSk9zrL Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
|
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL Final head for L1 (2026-11-24T23:42Z):
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: Inputs read: card #37095 (body and all five comments, rulings 7146141300 and 7146156389 included), PR #37155 (body, both comments, two-file net diff against main), the 58 check-runs on the head (44 success, 14 skipped, 0 failure, 0 pending), and the cited code on the branch tree. One registry read: ① Derived judgmentsWhich events run
S1 (should-fix) — The PR body's 维护者速读 (「只会让这项检查变红、挡住相关合并」) and the dev's final-head comment 7147713376 ("a red there ejects the PR") state a consequence the diff does not have. The context is outside the required set, so a red queue run of this job ejects nothing: the entry merges and the red arrives on S1 (should-fix) — Rule text for #22998 is left stating the pre-ruling rule in the file the PR edits. S1 (should-fix) — The Note for #37100, no finding here: ② Semver level
③ Boundary flags
S1 (should-fix) — Run the job once on the PR branch before the hand-merge: one operator
④ Design judgment
Minutes estimate. The PR body's 156 hits of 5275 first-parent commits in 30 days (3.0%) at a 541 s median gives about 1,400 runner-minutes (about 23 h). The local clone is shallow (history from 2026-11-14), so only a 10.3-day window could be counted: 43 hits of 1689 commits (2.5%), which scales to about 125 hits and about 1,130 minutes per 30 days. Same order; the estimate is plausible as a lower bound (re-queued entries rerun it). Not reproduced: the body's 49 Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — REWORK · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL Correction to my comment 7147713376 (2026-11-24T23:49Z), on the contract review 7147819716: "a red there ejects the PR" is wrong. |
…oral_live, pin the image digest Review follow-ups on #37095. The in-file rule text (THE TWO SPEEDS, the filter outputs and step comments) and docs/agents/multi-agent-discipline.md now name the one exception ruling record 7146156389 made: temporal-conformance also runs on a queue entry that hits temporal_live, and since it is not a required context that run is advisory. temporal_live gains the metadata-protocol files the step's live-mysql/live-postgres substrings select and the 22 service-analytics files whose live-PostgreSQL cells key on OS_TEST_POSTGRES_URL. The service image carries its index digest after the tag. Claude-Session: https://claude.ai/code/session_01QSeKYpRrYuqSLCvbSk9zrL Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL Final head for delta review (2026-11-25T00:57Z):
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: DELTA review from Inputs read: Merge commits: the branch holds none ( ① Derived judgmentsS1: closed
S2: closed
S3: closed
N1 (nit) — nothing pins the 22-file list to the grep that produced it, so a new service-analytics file with a live-PostgreSQL cell is missed in silence. The miss costs only the advisory queue run for that merge (the push run that follows still runs the job: every such file is a
② Semver levelUnchanged from record 7147819716: ③ Boundary flagsS4: closed
④ Design judgment
Minutes. The body's ≈1,550 runner-minutes per 30 days is 172 hits × 541 s ÷ 60 = 1,551: the arithmetic holds. The 30-day count (172 of 5,275 first-parent commits, 49 of them No new problem found in the delta. No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 维护者速读
Hand-off · 2026-11-25T01:04Z · @os-zhuang — PR #37155 (card #37095) is ready for your approval. CI workflow and one driver test; Tier H (governed |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Queue ejection, not this PR · 2026-11-25T02:06Z The queue ejected this PR on Blocked-by: #37174 |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 45528039199 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#4 · os-justin · session_01QSeKYpRrYuqSLCvbSk9zrL S4 measured: closed · read from the first merge-queue build of this PR (queue commit
That build was ejected for timeouts in two other jobs, and neither touches this PR's diff: |
Fixes #37095
Clause-②: no
Metadata-protocol: none
维护者速读
e6cb50b2549117a8a9cfd7e4c44fc3b6759235df。可选:合并前在分支claude/issue-37095-ci-pgvector上手动触发一次ci.yml,看Temporal Conformance (live PG + MySQL)成功、driver-sql 步骤含sql-driver-37095-pgvector-extension.test.ts (2 tests);不跑的话,席位在合并后读主干这一跑,变红即回滚。What changes
temporal-conformance's postgres service):mirror.gcr.io/library/postgres:16becomesmirror.gcr.io/pgvector/pgvector:0.8.7-pg16@sha256:484e838076e04939d27d3e176e91c86eea96236126023be8d3059761122e579f.FROM postgres:16-bookworm, so the PostgreSQL major, the entrypoint,pg_isreadyandpsqlare unchanged. Thevectorextension is built in.mirror.gcr.io, the repo's convention for every service image (Google's Docker Hub cache, which avoids Docker Hub's anonymous per-IP quota, ci: the required Temporal Conformance job pullspostgres:16andmysql:8.0from Docker Hub unauthenticated, and Docker Hub's pull rate limit now fails it before any test runs, so the merge queue ejects every pull request #22541). On 2026-11-24mirror.gcr.ioanswered 200 for the tag0.8.7-pg16and for the digest itself.tag@sha256). Docker pulls by the digest, so a re-pushed tag cannot change the server. The digest is the same on mirror.gcr.io and Docker Hub. No other workflow here pins a digest; the review's nit asked for it, andservices.*.imageaccepts the form. No actionlint runs in this repo to object.temporal-conformanceran on push to main, schedule and workflow_dispatch only, never onpull_requestormerge_group(skills(ci): two-speed CI — fast set on PR and merge-queue runs, full battery hourly on main and before a release, main-red stops the lane, four required contexts plus the guard, timing gates report-only, test budgets not deletions #22998, THE TWO SPEEDS).merge_groupwhen the entry's diff touches the newtemporal_liveoutput of the existingdorny/paths-filterstep in thefilterjob (the mechanism the ui jobs already use on the queue).if::… && github.event_name != 'pull_request' && (github.event_name != 'merge_group' || needs.filter.outputs.temporal_live != 'false').'', which becomes'true', so the job runs.pull_requeststays excluded. Push, schedule and dispatch are unchanged, and the job still reads no queue verdict (MAIN_ONLY_JOBS), so a queue hit also runs again on the push that follows.Temporal Conformance (live PG + MySQL)is NOT a required context (scripts/check-required-contexts.mjsholds it as a skills(ci): two-speed CI — fast set on PR and merge-queue runs, full battery hourly on main and before a release, main-red stops the lane, four required contexts plus the guard, timing gates report-only, test budgets not deletions #22998 tombstone). A red queue run therefore does not eject the entry: the entry lands and the red shows onmain(push, the 4-hourly run, the release lane's full-battery read).REQUIRED_CONTEXTSrow. Enrolment would be its own maintainer ruling, as [Decision] Merge queue: should the three Dogfood Regression Gate shards run on merge_group, so a dogfood red stops a PR before main instead of after? #30461 was for dogfood.temporal_livepaths:packages/plugins/knowledge-pgvector/**: the store's package. It does not exist yet; knowledge-pgvector: an open vector store on PostgreSQL — tables, exact search, listing, chunks #37100 adds it, and the step that runs its tests is a separate governed edit.packages/drivers/driver-sql/**: the job runs this whole suite against the live servers.packages/metadata-protocol/src/**/*live-mysql*and…/*live-postgres*: the same set the step'slive-mysql live-postgressubstrings select, includinglive-mysql-database.isolation.test.tsand the testkit.packages/runtime/src/**/cascade-delete-multivalue-lookup-real-driver*: the file the runtime step selects.packages/services/service-analytics/src/__tests__files whose live-PostgreSQL cells key onOS_TEST_POSTGRES_URL(ci: Temporal Conformance runs service-analytics with no OS_TEST_POSTGRES_URL, so the package's live-PostgreSQL temporal cells are named skips in CI and read as covered #21564). No glob selects exactly these, so they are listed, and a new such file must be added by hand: analytics-faces-one-lowering, cube-measure-field-type-door, cube-measure-relationship-path-type, dataset-duration-measure, dataset-tools, home-amount-consolidated-measure, json-stored-door-live-drivers, json-stored-door-undeclared-join, list-at-scalar-operator-both-faces, native-sql-aggregate-policies, native-sql-base-column-qualify, native-sql-boolean-comparand-door, native-sql-empty-sum-order-window, native-sql-measure-number-presentation, native-sql-number-comparand-door, native-sql-offset-only-window, objectql-echo-bucket-enumeration, objectql-echo-date-bucket, objectql-echo-offset-only-window, objectql-face-order-limit, order-key-selected, read-scope-temporal-coercion..github/workflows/ci.yml.ci.yml's THE TWO SPEEDS header, thefilter.outputscomments and the paths-filter step comment, plusdocs/agents/multi-agent-discipline.md(Two speeds paragraph), which cites ruling record 7146156389.scripts/check-required-contexts.mjs. It is about the required set, which this PR does not change.packages/drivers/driver-sql/src/sql-driver-37095-pgvector-extension.test.ts, PG-only, declared throughdeclareDialectCell(PG_CELL)like every live driver-sql file:OS_EXPECT_LIVE_DIALECT_MATRIX=1without a URL: red.CREATE EXTENSION IF NOT EXISTS vector; reads the extension's schema frompg_extensionand qualifies the type and operator with it; orders three rows by the pgvector L2 distance operator and checks the distances (0, 1, sqrt 26).skip-changeset: a*.test.tsundersrc/, and driver-sql'sfiles[]isdist,README.md,CHANGELOG.md.Monthly minutes
Temporal Conformance (live PG + MySQL)success durations over the 15 most recentscheduleruns: median ~541 s (max 708 s, n about 16; one API row errored).origin/mainthat touch thetemporal_livepaths (git log --first-parent --since --until -- PATHS), multiplied by the 541 s median. With the revised path list:ci.yml. That is ~1,550 runner-minutes (~26 h) per 30 days.ci.yml; theci.ymlchurn was heavier earlier in the month). Scaled to 30 days that is about 153 hits, ~1,380 minutes.Tests
Live run, PostgreSQL 16.15 + apt pgvector 0.6.0 (local; the CI image's 0.8.7 is not yet exercised)
OS_EXPECT_LIVE_DIALECT_MATRIX=1:✓ src/sql-driver-37095-pgvector-extension.test.ts (2 tests)✓ src/live-dialect-matrix.isolation.test.ts (20 tests | 1 skipped)extension "vector" is not available. A plainpostgres:16image would give this red.pnpm --filter @objectstack/driver-sql typecheck: exit 0. The new file is in--listFiles.ci.ymland docs.Gates (head e6cb50b)
dispatch-gates --commands: 87 families derived;--ran:87 derived, 84 run, 3 NOT-MEASURED, 0 UNRUN.dist/):check:dts-closure,check:dual-build-cjs-loads,check:lean-entry-closure. CI owns them.check:doc-formula-expressionsfirst exited 3 and was 0 after building formula and lint.check:required-contexts,check:pm-expected-skips,check:stall-guard-budget,check:stall-guard-headroom,check:shard-attestation,scheduled-full-run.mjs --self-test,check:nul-bytes.check-governed-merges.mjs --branch: GOVERNED, landing tier H(人合). readWorkflowDiff, verbatim:Tier H by content — .github/workflows/ci.yml: a uses: / image not used anywhere on the base tree: mirror.gcr.io/pgvector/pgvector:0.8.7-pg16; an existing job no longer holds uses: mirror.gcr.io/library/postgres:16: temporal-conformance; an if: added or changed in a job that already ran: job:temporal-conformance; a uses: / image dropped from the file: mirror.gcr.io/library/postgres:16.overlap-check:VERDICT clean exit 0against origin/main 49c8e0f.Acceptance notes
docs/qa/platform-checklist/areas/integration-system.jsonanddocs/adr/0104-field-runtime-value-shape-contract.mdstill describe this job's service aspostgres:16.ci.ymlon this branch (with the maintainer; not triggered here) or this PR's own queue run, becauseci.ymlis on the path list.Read first
if:and thetemporal_livefilter: the governed behaviour change.image:line and its comment.Two-minute check: open the first run of
Temporal Conformance (live PG + MySQL)on this change. It should run (not skip), and its driver-sql step should list✓ src/sql-driver-37095-pgvector-extension.test.ts (2 tests).Generated by Claude Code